from common.locate_by import By

class LocEquipAdd:

    loc_sure = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.button,
        "loc_name": "确 定",
    }

    loc_cancel = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.button,
        "loc_name": "取 消",
    }

    loc_close = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_use = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "装备用途:",
    }

    loc_equip_id = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "装备编码:",
    }

    loc_area_code = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "* 行政区域:",
    }

    loc_grade_score = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "评估结果:",
    }

    loc_park_code = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "* 园区名称:",
    }

    loc_enterprise_id = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "所属企业:",
    }

    loc_name = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 装备名称:",
    }

    loc_category = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "* 装备类型:",
    }

    loc_specifications = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "规格型号:",
    }

    loc_sum_num = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.spinbutton,
        "loc_name": "装备数量:",
    }

    loc_unit = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 装备单位:",
    }

    loc_status = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "* 装备状态:",
    }

    loc_material_use = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "* 用途:",
    }

    loc_affiliated_unit = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 所属单位:",
    }

    loc_requirement = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "存储和运输要求:",
    }

    loc_equ_sum = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 数量:",
    }

    loc_longitude = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "经度:",
    }

    loc_storage_place = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "存放位置:",
    }

    loc_latitude = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "纬度:",
    }

    loc_geom = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 坐标信息:",
    }
    loc_geom_close = {
        "page_role": By.dialog,
        "page_title": "坐标信息",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_address = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "常驻位置描述:",
    }

    loc_extend = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "功能或技术参数:",
    }

    loc_principal = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 负责人:",
    }

    loc_resident_position_id = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "存放位置:",
    }

    loc_principal_tel = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 联系方式:",
    }

    loc_resident_position_desc = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "常驻位置描述:",
    }
